package cn.edu.ctbu.datajpa01.exception;


import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class RException extends RuntimeException {
    private Integer code;
    public RException(Integer code,String msg) {
        //must be first line
        super(msg);
        this.code = code;
    }
}

